<?php
$buildCss =''; // start of CSS or head section build
$buildCss .="/* cssid=".$devOptions['cssid']."                            */   \n";
$buildCss .="/* WARNING!! this file is dynamicaly generated changes will  */ \n";
$buildCss .="/* be overwritten with every change to the admin screen.      */ \n";
$buildCss .="/* You can add css to this file in the admin screen.       */ \n\n\n\n\n";


function findLocation($location, $width){
switch ($location){
    case '000':
        return $local = 0;
        break;
    case '00f':
        return $local = $width;
        break;
    case '333':
        return $local = $width * 2;
        break;
    case '666':
        return $local = $width * 3;
        break;
    case '999':
        return $local = $width * 4;
        break;
    case 'ccc':
        return $local = $width * 5;
        break;
     case 'f00':
        return $local = $width * 6;
        break;
    case 'f0f':
        return $local = $width * 7;
        break;
    case 'fff' :
        return $local = $width * 8;
        break;
    }
}
$buildCss .=".socialwrap li.icon_text a img, .socialwrap li.iconOnly a img, .followwrap li.icon_text a img, .followwrap li.iconOnly a img{border-width:0;background-color:none;}";
if ($devOptions['follow_location'] == "right" || $devOptions['follow_location'] == "left") {
if ($devOptions['follow_location'] == "right") {$corner = 'left';}else{$corner = 'right';} // border corner
$buildCss .= "#follow.".$devOptions['follow_location']." {width:";
if ('text_replace'==$devOptions['follow_list_style'])
    {$buildCss .= "30";}
else { $buildCss .= $devOptions['tab_size']+8;} // width of tab
$buildCss .= "px;position:fixed; ";
$buildCss .= $devOptions['follow_location']; // left or right side
$buildCss .= ":0; top:".$devOptions['distance_from_top']."px;";
    if ($devOptions['background_transparent']!='yes')
    {$buildCss .= "background-color:#".$devOptions['background_color'].";";}
$buildCss .= "padding:10px 0;font-family:impact,charcoal,arial, helvetica,sans-serif;-moz-border-radius-top".$corner.": 5px;-webkit-border-top-".$corner."-radius:5px;-moz-border-radius-bottom".$corner.":5px;-webkit-border-bottom-".$corner."-radius:5px;";
   if ($devOptions['border_transparent']!='yes'){ $buildCss .= "border:2px solid #".$devOptions['border_color'].";border-".$devOptions['follow_location']."-width:0}";}
   else {$buildCss .= "}";}
   $buildCss .= "#follow.".$devOptions['follow_location']." ul {padding:0; margin:0; list-style-type:none !important;font-size:24px;color:black;}\n";
   $buildCss .= "#follow.".$devOptions['follow_location']." ul li {padding-bottom:".$devOptions['follow_list_spacing']."px;list-style-type:none !important;margin:0 4px;}\n";
//end of box setup

// turn off if not needed
// if($devOptions['add_follow_text']=="true"){
$buildCss .="#follow.".$devOptions['follow_location']." ul li.".$devOptions['word_value']." {}\n";
$buildCss .="#follow.".$devOptions['follow_location']." ul li.".$devOptions['word_value']." img {border-width:0;display:block;overflow:hidden; background:transparent url(".WP_PLUGIN_URL."/share-and-follow/images/impact/".$devOptions['word_value']."-".$devOptions['follow_location'].".png) no-repeat ";
switch($devOptions['word_value']){
        case "follow":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:79px;width:20px;";
        break;
        case "followme":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:114px;width:20px;";
        break;
        case "followus":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:107px;width:20px;";
        break;
        case "connect":
            $location = findLocation($devOptions['follow_color'], 20);
            $buildCss .= "-".$location."px 0px;height:99px;width:19px;";
        break;
        case "aansluiten":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:125px;width:20px;";
        break;
        case "ajouter":
            $location = findLocation($devOptions['follow_color'], 23);
            $buildCss .= "-".$location."px 0px;height:89px;width:22px;";
        break;
        case "communicate":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:155px;width:20px;";
        break;
        case "deelnemen":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:129px;width:20px;";
        break;
        case "join":
            $location = findLocation($devOptions['follow_color'], 23);
            $buildCss .= "-".$location."px 0px;height:56px;width:22px;";
        break;
        case "mededeling":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:134px;width:23px";
        break;
        case "network":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:98px;width:20px;";
        break;
        case "overzichten":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:132px;width:20px;";
        break;
        case "publications":
            $location = findLocation($devOptions['follow_color'], 23);
            $buildCss .= "-".$location."px 0px;height:143px;width:22px;";
        break;
        case "rejoindre":
            $location = findLocation($devOptions['follow_color'], 23);
            $buildCss .= "-".$location."px 0px;height:111px;width:22px;";
        break;
        case "reseau":
            $location = findLocation($devOptions['follow_color'], 22);
            $buildCss .= "-".$location."px 0px;height:87px;width:21px;";
        break;
        case "review":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:95px;width:20px;";
        break;
        case "seconnecter":
            $location = findLocation($devOptions['follow_color'], 20);
            $buildCss .= "-".$location."px 0px;height:147px;width:19px;";
        break;
        case "suivre":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:79px;width:20px;";
        break;
        case "toevoegen":
            $location = findLocation($devOptions['follow_color'], 23);
            $buildCss .= "-".$location."px 0px;height:120px;width:22px;";
        break;
         case "verbinden":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:117px;width:20px;";
        break;
        case "volgen":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:82px;width:23px;";
        break;
        case "volgonze":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:108px;width:23px;";
        break;
        case "volgons":
            $location = findLocation($devOptions['follow_color'], 22);
            $buildCss .= "-".$location."px 0px;height:93px;width:21px;";
        break;
        case "volgmij":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:95px;width:23px;";
        break;
        case "comunicar":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:127px;width:20px;";
        break;
        case "conectar":
            $location = findLocation($devOptions['follow_color'], 20);
            $buildCss .= "-".$location."px 0px;height:107px;width:19px;";
        break;
        case "juntar":
            $location = findLocation($devOptions['follow_color'], 23);
            $buildCss .= "-".$location."px 0px;height:80px;width:22px;";
        break;
        case "rede":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:63px;width:20px;";
        break;
         case "resenhas":
            $location = findLocation($devOptions['follow_color'], 21);
            $buildCss .= "-".$location."px 0px;height:111px;width:20px;";
        break;
        case "seguir":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:81px;width:23px;";
        break;
        case "sigame":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:97px;width:23px;";
        break;
        case "siganos":
            $location = findLocation($devOptions['follow_color'], 24);
            $buildCss .= "-".$location."px 0px;height:103px;width:23px;";
        break;
        default:
            $buildCss .="height:79px;";
        break;
}
$buildCss .="}\n";
$buildCss .="#follow.".$devOptions['follow_location']." ul li a {display:block;}\n";

$follow_words_list = array ('facebook'=>array('height'=>'91','width'=>'20', 'lA_X'=>'0','lA_Y'=>'0','rA_X'=>'1125','rA_Y'=>'42',  'lB_X'=>'21','lB_Y'=>'0','rB_X'=>'1104','rB_Y'=>'42', ),
                            'hyves'=>array('height'=>'57','width'=> '22', 'lA_X'=>'42','lA_Y'=>'0','rA_X'=>'1081','rA_Y'=>'76',  'lB_X'=>'66','lB_Y'=>'0','rB_X'=>'1057','rB_Y'=>'76', ),
                            'imdb'=>array('height'=>'49','width'=> '20', 'lA_X'=>'42','lA_Y'=>'60','rA_X'=>'1083','rA_Y'=>'24',  'lB_X'=>'67','lB_Y'=>'60','rB_X'=>'1058','rB_Y'=>'24', ),
                            'bandcamp'=>array('height'=>'103','width'=> '22', 'lA_X'=>'89','lA_Y'=>'0','rA_X'=>'1034','rA_Y'=>'30',  'lB_X'=>'112','lB_Y'=>'0','rB_X'=>'1011','rB_Y'=>'30', ),
                            'coconex'=>array('height'=>'83','width'=> '17', 'lA_X'=>'135','lA_Y'=>'0','rA_X'=>'993','rA_Y'=>'50',  'lB_X'=>'153','lB_Y'=>'0','rB_X'=>'975','rB_Y'=>'50', ),
                            'dailymotion'=>array('height'=>'117','width'=> '22', 'lA_X'=>'171','lA_Y'=>'0','rA_X'=>'952','rA_Y'=>'16',  'lB_X'=>'194','lB_Y'=>'0','rB_X'=>'929','rB_Y'=>'16', ),
                            'delicious'=>array('height'=>'93','width'=> '20', 'lA_X'=>'217','lA_Y'=>'0','rA_X'=>'908','rA_Y'=>'40',  'lB_X'=>'238','lB_Y'=>'0','rB_X'=>'887','rB_Y'=>'40', ),
                            'deviantart'=>array('height'=>'101','width'=> '20', 'lA_X'=>'259','lA_Y'=>'0','rA_X'=>'866','rA_Y'=>'32',  'lB_X'=>'280','lB_Y'=>'0','rB_X'=>'845','rB_Y'=>'32', ),
                            'digg'=>array('height'=>'42','width'=> '23', 'lA_X'=>'301','lA_Y'=>'0','rA_X'=>'821','rA_Y'=>'91',  'lB_X'=>'325','lB_Y'=>'0','rB_X'=>'797','rB_Y'=>'91', ),
                            'flickr'=>array('height'=>'53','width'=> '20', 'lA_X'=>'302','lA_Y'=>'43','rA_X'=>'823','rA_Y'=>'37',  'lB_X'=>'323','lB_Y'=>'43','rB_X'=>'802','rB_Y'=>'37', ),
                            'foursquare'=>array('height'=>'110','width'=> '22', 'lA_X'=>'350','lA_Y'=>'0','rA_X'=>'773','rA_Y'=>'23',  'lB_X'=>'373','lB_Y'=>'0','rB_X'=>'750','rB_Y'=>'23', ),
                            'google_buzz'=>array('height'=>'112','width'=> '23', 'lA_X'=>'396','lA_Y'=>'0','rA_X'=>'726','rA_Y'=>'21',  'lB_X'=>'419','lB_Y'=>'0','rB_X'=>'703','rB_Y'=>'21', ),
                            'gowalla'=>array('height'=>'77','width'=> '23', 'lA_X'=>'443','lA_Y'=>'0','rA_X'=>'679','rA_Y'=>'56',  'lB_X'=>'468','lB_Y'=>'0','rB_X'=>'654','rB_Y'=>'56', ),
                            'itunes'=>array('height'=>'63','width'=> '20', 'lA_X'=>'493','lA_Y'=>'0','rA_X'=>'632','rA_Y'=>'70',  'lB_X'=>'514','lB_Y'=>'0','rB_X'=>'611','rB_Y'=>'70', ),
                            'plaxo'=>array('height'=>'52','width'=> '22', 'lA_X'=>'486','lA_Y'=>'80','rA_X'=>'637','rA_Y'=>'1',  'lB_X'=>'511','lB_Y'=>'80','rB_X'=>'612','rB_Y'=>'1', ),
                            'lastfm'=>array('height'=>'65','width'=> '20', 'lA_X'=>'535','lA_Y'=>'0','rA_X'=>'590','rA_Y'=>'68',  'lB_X'=>'556','lB_Y'=>'0','rB_X'=>'569','rB_Y'=>'68', ),
                            'rss'=>array('height'=>'31','width'=> '17', 'lA_X'=>'535','lA_Y'=>'67','rA_X'=>'593','rA_Y'=>'35',  'lB_X'=>'556','lB_Y'=>'67','rB_X'=>'572','rB_Y'=>'35', ),
                            'linkedin'=>array('height'=>'80','width'=> '20', 'lA_X'=>'577','lA_Y'=>'0','rA_X'=>'548','rA_Y'=>'53',  'lB_X'=>'598','lB_Y'=>'0','rB_X'=>'527','rB_Y'=>'53', ),
                            'moddb'=>array('height'=>'66','width'=> '20', 'lA_X'=>'619','lA_Y'=>'0','rA_X'=>'506','rA_Y'=>'67',  'lB_X'=>'640','lB_Y'=>'0','rB_X'=>'485','rB_Y'=>'67', ),
                            'myspace' =>array('height'=>'88','width'=> '19', 'lA_X'=>'661','lA_Y'=>'0','rA_X'=>'465','rA_Y'=>'45',  'lB_X'=>'680','lB_Y'=>'0','rB_X'=>'446','rB_Y'=>'45', ),
                            'newsletter'=>array('height'=>'105','width'=> '20', 'lA_X'=>'699','lA_Y'=>'0','rA_X'=>'426','rA_Y'=>'28',  'lB_X'=>'720','lB_Y'=>'0','rB_X'=>'405','rB_Y'=>'28', ),
                            'orkut'=>array('height'=>'52','width'=> '20', 'lA_X'=>'741','lA_Y'=>'0','rA_X'=>'384','rA_Y'=>'81',  'lB_X'=>'762','lB_Y'=>'0','rB_X'=>'363','rB_Y'=>'81', ),
                            'picasa'=>array('height'=>'65','width'=> '22', 'lA_X'=>'741','lA_Y'=>'54','rA_X'=>'384','rA_Y'=>'14',  'lB_X'=>'762','lB_Y'=>'54','rB_X'=>'361','rB_Y'=>'14', ),
                            'soundcloud'=>array('height'=>'116','width'=> '20', 'lA_X'=>'785','lA_Y'=>'0','rA_X'=>'340','rA_Y'=>'17',  'lB_X'=>'807','lB_Y'=>'0','rB_X'=>'318','rB_Y'=>'17', ),
                            'sphinn'=>array('height'=>'62','width'=> '21', 'lA_X'=>'828','lA_Y'=>'0','rA_X'=>'295','rA_Y'=>'66',  'lB_X'=>'852','lB_Y'=>'0','rB_X'=>'271','rB_Y'=>'66', ),
                            'vimeo'=>array('height'=>'60','width'=> '20', 'lA_X'=>'830','lA_Y'=>'69','rA_X'=>'295','rA_Y'=>'4',  'lB_X'=>'854','lB_Y'=>'69','rB_X'=>'271','rB_Y'=>'4', ),
                            'stumble'=>array('height'=>'133','width'=> '21', 'lA_X'=>'875','lA_Y'=>'0','rA_X'=>'248','rA_Y'=>'0',  'lB_X'=>'897s','lB_Y'=>'0','rB_X'=>'226','rB_Y'=>'0', ),
                            'tumblr'=>array('height'=>'67','width'=> '20', 'lA_X'=>'920','lA_Y'=>'0','rA_X'=>'205','rA_Y'=>'66',  'lB_X'=>'941','lB_Y'=>'0','rB_X'=>'184','rB_Y'=>'66', ),
                            'twitter'=>array('height'=>'65','width'=> '20',  'lA_X'=>'920','lA_Y'=>'68','rA_X'=>'205','rA_Y'=>'0',  'lB_X'=>'941','lB_Y'=>'68','rB_X'=>'184','rB_Y'=>'0', ),
                            'vkontakte'=>array('height'=>'96','width'=> '21', 'lA_X'=>'962','lA_Y'=>'0','rA_X'=>'163','rA_Y'=>'38',  'lB_X'=>'983','lB_Y'=>'0','rB_X'=>'142','rB_Y'=>'38', ),
                            'youtube'=>array('height'=>'81','width'=> '21', 'lA_X'=>'1004','lA_Y'=>'0','rA_X'=>'119','rA_Y'=>'53',  'lB_X'=>'1027','lB_Y'=>'0','rB_X'=>'96','rB_Y'=>'53', ),
                            'xing'=>array('height'=>'42','width'=> '23', 'lA_X'=>'1050','lA_Y'=>'0','rA_X'=>'72','rA_Y'=>'91',  'lB_X'=>'1074','lB_Y'=>'0','rB_X'=>'48','rB_Y'=>'91', ),
                            'yelp'=>array('height'=>'44','width'=> '22', 'lA_X'=>'1051','lA_Y'=>'50','rA_X'=>'72','rA_Y'=>'41',  'lB_X'=>'1075','lB_Y'=>'50','rB_X'=>'48','rB_Y'=>'41', ),
                            'yahoo_buzz'=>array('height'=>'106','width'=> '22', 'lA_X'=>'1099','lA_Y'=>'0','rA_X'=>'24','rA_Y'=>'27',  'lB_X'=>'1123','lB_Y'=>'0','rB_X'=>'0','rB_Y'=>'27', ),
                            'xfire'=>array('height'=>'45','width'=> '20', 'lA_X'=>'619','lA_Y'=>'67','rA_X'=>'506','rA_Y'=>'21',  'lB_X'=>'640','lB_Y'=>'67','rB_X'=>'485','rB_Y'=>'21', ),
                            'ya'=>array('height'=>'21','width'=> '17', 'lA_X'=>'1145','lA_Y'=>'0','rA_X'=>'1170','rA_Y'=>'112',  'lB_X'=>'1164','lB_Y'=>'0','rB_X'=>'1151','rB_Y'=>'112', ),
                            'posterous'=>array('height'=>'90','width'=> '19', 'lA_X'=>'1146','lA_Y'=>'23','rA_X'=>'1167','rA_Y'=>'20',  'lB_X'=>'1167','lB_Y'=>'23','rB_X'=>'1146','rB_Y'=>'20', ),
                            'slideshare'=>array('height'=>'96','width'=> '20', 'lA_X'=>'1186','lA_Y'=>'0','rA_X'=>'1212','rA_Y'=>'35',  'lB_X'=>'1207','lB_Y'=>'0','rB_X'=>'1191','rB_Y'=>'35', ),
                            'feedburner'=>array('height'=>'100','width'=> '19', 'lA_X'=>'1230','lA_Y'=>'0','rA_X'=>'1254','rA_Y'=>'33',  'lB_X'=>'1250','lB_Y'=>'0','rB_X'=>'1234','rB_Y'=>'33', ),
);
$buildCss .= "/* start text replacemnt words*/\n";

//
// Build text replacement details for single CSS option (although it is a sprite anyway
//
    foreach ($follow_words_list as $key=>$value){
        // check if link exist
        // perform if there ignore otherwise
        if (!empty($devOptions[$key.'_link'])|| $key=='rss'){
            if ($devOptions['follow_location']=="left"){
            $buildCss .="#follow.".$devOptions['follow_location']." ul li.text_replace a img.".$key." {background:transparent url(".WP_PLUGIN_URL."/share-and-follow/images/impact/word-strip-left.png) no-repeat; background-position:-".$value['lA_X']."px -".$value['lA_Y']."px;";
            $buildCss .="height:".$value['height']."px;width:".$value['width']."px}\n";
            $buildCss .= "#follow.".$devOptions['follow_location']." ul li.text_replace a img.".$key.":hover {background-position:-".$value['lB_X']."px -".$value['lB_Y']."px;}\n";
            }
            if ($devOptions['follow_location']=="right"){
            $buildCss .="#follow.".$devOptions['follow_location']." ul li.text_replace a img.".$key." {background:transparent url(".WP_PLUGIN_URL."/share-and-follow/images/impact/word-strip-right.png) no-repeat; background-position:-".$value['rA_X']."px -".$value['rA_Y']."px;";
            $buildCss .="height:".$value['height']."px;width:".$value['width']."px}\n";
            $buildCss .= "#follow.".$devOptions['follow_location']." ul li.text_replace a img.".$key.":hover {background-position:-".$value['rB_X']."px -".$value['rB_Y']."px;}\n";
            }
        }
    }

$buildCss .= "/* end text replacemnt words */ \n";

$buildCss .="#follow.".$devOptions['follow_location']." ul li.".$devOptions['word_value']." span, #follow ul li a span {display:none}";
}
    // end of text replacement stuff

    // do bottom area
    if ($devOptions['follow_location'] == "bottom"  && $devOptions['follow_list_style'] == "text_replace" ){
        $buildCss .="#follow.bottom {width:100%; position:fixed; left:0px; bottom:0px;";
            if ($devOptions['background_transparent']!='yes'){$buildCss .="background-color:#".$devOptions['background_color'].";";}
        $buildCss .="font-family:impact,charcoal,arial, helvetica,sans-serif;";
            if ($devOptions['border_transparent']!='yes'){$buildCss .="border:2px solid #".$devOptions['border_color'].";border-width:2px 0 0 0;";}
        $buildCss .="}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul {padding:0 0 0 20px; margin:0; list-style-type:none !important;font-size:24px;color:black;}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li {";
        if ('text_replace'==$devOptions['follow_list_style']){$buildCss .="margin-left:4px;";}else { $buildCss .="margin:4px;";}
        $buildCss .="padding-bottom:10px;list-style-type:none !important; display:inline;}";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.follow {color:#".$devOptions['follow_color'].";}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li a {margin-right:10px; background-image:none !important}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.text_replace a {color:white;text-decoration:none;}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.text_replace a:hover {color:black}";
    } else if ($devOptions['follow_location'] == "bottom"  && $devOptions['follow_list_style'] != "text_replace" ){
        $buildCss .="#follow.bottom {width:100%; position:fixed; left:0px; bottom:0px;";
        if ($devOptions['background_transparent']!='yes'){$buildCss .= "background-color:#".$devOptions['background_color'].";" ;}
        if ($devOptions['border_transparent']!='yes'){$buildCss .="border:2px solid #".$devOptions['border_color'].";border-width:2px 0 0 0;}\n";}
        $buildCss .="}\n";
        $buildCss .="#follow.bottom ul {padding-left:20px;list-style-type:none;} #follow.bottom ul li {float:left;padding-top:4px;margin-right:10px;list-style-type:none;}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.follow {color:#".$devOptions['follow_color'].";line-height:".$devOptions['tab_size']."px;}\n";
    }
    //do top area
if ($devOptions['follow_location'] == "top"  && $devOptions['follow_list_style'] == "text_replace" ){
        $buildCss .="#follow.top {width:100%; position:fixed; left:0px; top:0px;";
        if ($devOptions['background_transparent']!='yes'){ $buildCss .="background-color:#".$devOptions['background_color'].";";}
        $buildCss .="font-family:impact,charcoal,arial, helvetica,sans-serif;";
        if ($devOptions['border_transparent']!='yes'){ $buildCss .="border:2px solid #".$devOptions['border_color'].";border-width:0px 0 2px 0;";}
        $buildCss .= "}\n";
        $buildCss .="#follow.".$devOptions['follow_location']." ul {padding:0 0 0 20px; margin:0; list-style-type:none !important;font-size:24px;color:black;}";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li {";
        if ('text_replace'==$devOptions['follow_list_style']){$buildCss .="margin-left:4px;";}else { $buildCss .="margin:4px;";}
        $buildCss .="padding-bottom:10px;list-style-type:none !important; display:inline;}";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.follow {color:#".$devOptions['follow_color'].";}";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li a {margin-right:10px; background-image:none !important}";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.text_replace a {color:white;text-decoration:none;}";
        $buildCss .="#follow.".$devOptions['follow_location']." ul li.text_replace a:hover {color:black;}";
} else if ($devOptions['follow_location'] == "top" && $devOptions['follow_list_style'] != "text_replace" ){
        $buildCss .="#follow.top {width:100%; position:fixed; left:0px; top:0px;";
        if ($devOptions['background_transparent']!='yes'){
            $buildCss .="background-color:#".$devOptions['background_color'].";";
        }
        if ($devOptions['border_transparent']!='yes'){
            $buildCss .="border:2px solid #".$devOptions['border_color'].";border-width:0 0 2px 0;";
        }
        $buildCss .="}";
            $buildCss .="#follow.top ul {padding-left:20px;list-style-type:none;}";
            $buildCss .="#follow.top ul li {float:left;padding-top:4px;margin-right:10px;list-style-type:none;}";
            
            $buildCss .="#follow.".$devOptions['follow_location']." ul li.follow {color:#".$devOptions['follow_color'].";line-height:".$devOptions['tab_size']."px;}";
            $buildCss .="body {padding-top:". ($devOptions['tab_size']+8)."px}";
        
}
// add icons to set
//
// first do only share icons and RSS

global $shareAndFollowShareIcons;
//
//
// next do follow items where a link has been entered but no share button
global $shareAndFollowFollowIcons;
// icon sizes
$sizes=array(16,24,32,48,60);

$shares=$shareAndFollowShareIcons;
$follows=array();
foreach ($shareAndFollowFollowIcons as $image){
         if ( !empty($devOptions[$image.'_link'])){
            $follows[] =$image;
       }
       
       }

$final_images =    array_unique(array_merge($follows,$shares));

foreach ($sizes as $value){
    foreach ($final_images  as $image){
        $buildCss .=".size".$value." .".$image."{background: transparent url(".WP_PLUGIN_URL."/share-and-follow/default/".$value."/".$image.".png) no-repeat}\n";
    }
}
$buildCss .="
img.image-16{background:transparent url(".WP_PLUGIN_URL."/share-and-follow/default/16/sprite-16.png) no-repeat;}
img.sprite-16-bandcamp{background-position: 0 0}
img.sprite-16-blogger{background-position: -17px 0}
img.sprite-16-bookmark{background-position: -34px 0}
img.sprite-16-coconex{background-position: -51px 0}
img.sprite-16-dailymotion{background-position: -68px 0}
img.sprite-16-delicious{background-position: -85px 0}
img.sprite-16-deviantart{background-position: -102px 0}
img.sprite-16-digg{background-position: -119px 0}
img.sprite-16-email{background-position: -136px 0}
img.sprite-16-facebook{background-position: -153px 0}
img.sprite-16-fark{background-position: -170px 0}
img.sprite-16-feedback{background-position: -187px 0}
img.sprite-16-feedburner{background-position: -204px 0}
img.sprite-16-flickr{background-position: -221px 0}
img.sprite-16-foursquare{background-position: -238px 0}
img.sprite-16-furl{background-position: -255px 0}
img.sprite-16-google_buzz{background-position: -272px 0}
img.sprite-16-gowalla{background-position: -289px 0}
img.sprite-16-hellotxt{background-position: -306px 0}
img.sprite-16-hyves{background-position: -323px 0}
img.sprite-16-imdb{background-position: -340px 0}
img.sprite-16-itunes{background-position: -357px 0}
img.sprite-16-lastfm{background-position: -374px 0}
img.sprite-16-linkedin{background-position: -391px 0}
img.sprite-16-meetup{background-position: -408px 0}
img.sprite-16-mixx{background-position: -425px 0}
img.sprite-16-moddb{background-position: -442px 0}
img.sprite-16-mrwong{background-position: -459px 0}
img.sprite-16-myspace{background-position: -476px 0}
img.sprite-16-netvibes{background-position: -493px 0}
img.sprite-16-newsletter{background-position: -510px 0}
img.sprite-16-nujij{background-position: -527px 0}
img.sprite-16-orkut{background-position: -544px 0}
img.sprite-16-picasa{background-position: -561px 0}
img.sprite-16-plaxo{background-position: -578px 0}
img.sprite-16-plurk{background-position: -595px 0}
img.sprite-16-posterous{background-position: -612px 0}
img.sprite-16-print{background-position: -629px 0}
img.sprite-16-reddit{background-position: -646px 0}
img.sprite-16-rss{background-position: -663px 0}
img.sprite-16-slideshare{background-position: -680px 0}
img.sprite-16-soundcloud{background-position: -697px 0}
img.sprite-16-sphinn{background-position: -714px 0}
img.sprite-16-stumble{background-position: -731px 0}
img.sprite-16-technorati{background-position: -748px 0}
img.sprite-16-tumblr{background-position: -765px 0}
img.sprite-16-twitter{background-position: -782px 0}
img.sprite-16-vimeo{background-position: -799px 0}
img.sprite-16-vkontakte{background-position: -816px 0}
img.sprite-16-wordpress{background-position: -833px 0}
img.sprite-16-xfire{background-position: -850px 0}
img.sprite-16-xing{background-position: -867px 0}
img.sprite-16-ya{background-position: -884px 0}
img.sprite-16-yahoo_buzz{background-position: -901px 0}
img.sprite-16-yelp{background-position: -918px 0}
img.sprite-16-youtube{background-position: -935px 0}
";


$buildCss .="
img.image-24{background:transparent url(".WP_PLUGIN_URL."/share-and-follow/default/24/sprite-24.png) no-repeat;}
img.sprite-24-bandcamp{background-position: 0 0}
img.sprite-24-blogger{background-position: -25px 0}
img.sprite-24-bookmark{background-position: -50px 0}
img.sprite-24-coconex{background-position: -75px 0}
img.sprite-24-dailymotion{background-position: -100px 0}
img.sprite-24-delicious{background-position: -125px 0}
img.sprite-24-deviantart{background-position: -150px 0}
img.sprite-24-digg{background-position: -175px 0}
img.sprite-24-email{background-position: -200px 0}
img.sprite-24-facebook{background-position: -225px 0}
img.sprite-24-feedback{background-position: -250px 0}
img.sprite-24-feedburner{background-position: -275px 0}
img.sprite-24-flickr{background-position: -300px 0}
img.sprite-24-foursquare{background-position: -325px 0}
img.sprite-24-gmail{background-position: -350px 0}
img.sprite-24-google_buzz{background-position: -375px 0}
img.sprite-24-gowalla{background-position: -400px 0}
img.sprite-24-hyves{background-position: -425px 0}
img.sprite-24-imdb{background-position: -450px 0}
img.sprite-24-itunes{background-position: -475px 0}
img.sprite-24-lastfm{background-position: -500px 0}
img.sprite-24-linkedin{background-position: -525px 0}
img.sprite-24-meetup{background-position: -550px 0}
img.sprite-24-mixx{background-position: -575px 0}
img.sprite-24-moddb{background-position: -600px 0}
img.sprite-24-mrwong{background-position: -625px 0}
img.sprite-24-myspace{background-position: -650px 0}
img.sprite-24-netvibes{background-position: -675px 0}
img.sprite-24-newsletter{background-position: -700px 0}
img.sprite-24-newsvine{background-position: -725px 0}
img.sprite-24-nujij{background-position: -750px 0}
img.sprite-24-orkut{background-position: -775px 0}
img.sprite-24-picasa{background-position: -800px 0}
img.sprite-24-plaxo{background-position: -825px 0}
img.sprite-24-plurk{background-position: -850px 0}
img.sprite-24-posterous{background-position: -875px 0}
img.sprite-24-print{background-position: -900px 0}
img.sprite-24-reddit{background-position: -925px 0}
img.sprite-24-rss{background-position: -950px 0}
img.sprite-24-slideshare{background-position: -975px 0}
img.sprite-24-soundcloud{background-position: -1000px 0}
img.sprite-24-sphinn{background-position: -1025px 0}
img.sprite-24-stumble{background-position: -1050px 0}
img.sprite-24-technorati{background-position: -1075px 0}
img.sprite-24-tumblr{background-position: -1100px 0}
img.sprite-24-twitter{background-position: -1125px 0}
img.sprite-24-vimeo{background-position: -1150px 0}
img.sprite-24-vkontakte{background-position: -1175px 0}
img.sprite-24-wordpress{background-position: -1200px 0}
img.sprite-24-xfire{background-position: -1225px 0}
img.sprite-24-xing{background-position: -1250px 0}
img.sprite-24-ya{background-position: -1275px 0}
img.sprite-24-yahoo{background-position: -1300px 0}
img.sprite-24-yahoo_buzz{background-position: -1325px 0}
img.sprite-24-yelp{background-position: -1350px 0}
img.sprite-24-youtube{background-position: -1375px 0}

 ";

$buildCss .="
img.image-32{background:transparent url(".WP_PLUGIN_URL."/share-and-follow/default/32/sprite-32.png) no-repeat;}
img.sprite-32-bandcamp{background-position: 0 0}
img.sprite-32-blogger{background-position: -33px 0}
img.sprite-32-bookmark{background-position: -66px 0}
img.sprite-32-coconex{background-position: -99px 0}
img.sprite-32-dailymotion{background-position: -132px 0}
img.sprite-32-delicious{background-position: -165px 0}
img.sprite-32-deviantart{background-position: -198px 0}
img.sprite-32-digg{background-position: -231px 0}
img.sprite-32-email{background-position: -264px 0}
img.sprite-32-facebook{background-position: -297px 0}
img.sprite-32-fark{background-position: -330px 0}
img.sprite-32-feedback{background-position: -363px 0}
img.sprite-32-feedburner{background-position: -396px 0}
img.sprite-32-flickr{background-position: -429px 0}
img.sprite-32-foursquare{background-position: -462px 0}
img.sprite-32-google_buzz{background-position: -495px 0}
img.sprite-32-gowalla{background-position: -528px 0}
img.sprite-32-hyves{background-position: -561px 0}
img.sprite-32-imdb{background-position: -594px 0}
img.sprite-32-itunes{background-position: -627px 0}
img.sprite-32-lastfm{background-position: -660px 0}
img.sprite-32-linkedin{background-position: -693px 0}
img.sprite-32-meetup{background-position: -726px 0}
img.sprite-32-mixx{background-position: -759px 0}
img.sprite-32-moddb{background-position: -792px 0}
img.sprite-32-mrwong{background-position: -825px 0}
img.sprite-32-myspace{background-position: -858px 0}
img.sprite-32-netvibes{background-position: -891px 0}
img.sprite-32-newsletter{background-position: -924px 0}
img.sprite-32-newsvine{background-position: -957px 0}
img.sprite-32-nujij{background-position: -990px 0}
img.sprite-32-orkut{background-position: -1023px 0}
img.sprite-32-picasa{background-position: -1056px 0}
img.sprite-32-plaxo{background-position: -1089px 0}
img.sprite-32-plurk{background-position: -1122px 0}
img.sprite-32-posterous{background-position: -1155px 0}
img.sprite-32-print{background-position: -1188px 0}
img.sprite-32-reddit{background-position: -1221px 0}
img.sprite-32-rss{background-position: -1254px 0}
img.sprite-32-skype{background-position: -1287px 0}
img.sprite-32-slideshare{background-position: -1320px 0}
img.sprite-32-soundcloud{background-position: -1353px 0}
img.sprite-32-sphinn{background-position: -1386px 0}
img.sprite-32-stumble{background-position: -1419px 0}
img.sprite-32-stumbleupon{background-position: -1452px 0}
img.sprite-32-technorati{background-position: -1485px 0}
img.sprite-32-tumblr{background-position: -1518px 0}
img.sprite-32-twitter{background-position: -1551px 0}
img.sprite-32-vimeo{background-position: -1584px 0}
img.sprite-32-vkontakte{background-position: -1617px 0}
img.sprite-32-wordpress{background-position: -1650px 0}
img.sprite-32-xfire{background-position: -1683px 0}
img.sprite-32-xing{background-position: -1716px 0}
img.sprite-32-ya{background-position: -1749px 0}
img.sprite-32-yahoo{background-position: -1782px 0}
img.sprite-32-yahoo_buzz{background-position: -1815px 0}
img.sprite-32-yahoobuzz{background-position: -1848px 0}
img.sprite-32-yelp{background-position: -1881px 0}
img.sprite-32-youtube{background-position: -1914px 0}

 ";


$buildCss .="
img.image-48{background:transparent url(".WP_PLUGIN_URL."/share-and-follow/default/48/sprite-48.png) no-repeat;}
img.sprite-48-bandcamp{background-position: 0 0}
img.sprite-48-blogger{background-position: -49px 0}
img.sprite-48-bookmark{background-position: -98px 0}
img.sprite-48-coconex{background-position: -147px 0}
img.sprite-48-dailymotion{background-position: -196px 0}
img.sprite-48-delicious{background-position: -245px 0}
img.sprite-48-deviantart{background-position: -294px 0}
img.sprite-48-digg{background-position: -343px 0}
img.sprite-48-email{background-position: -392px 0}
img.sprite-48-facebook{background-position: -441px 0}
img.sprite-48-fark{background-position: -490px 0}
img.sprite-48-feedback{background-position: -539px 0}
img.sprite-48-feedburner{background-position: -588px 0}
img.sprite-48-flickr{background-position: -637px 0}
img.sprite-48-foursquare{background-position: -686px 0}
img.sprite-48-google_buzz{background-position: -735px 0}
img.sprite-48-gowalla{background-position: -784px 0}
img.sprite-48-hyves{background-position: -833px 0}
img.sprite-48-imdb{background-position: -882px 0}
img.sprite-48-itunes{background-position: -931px 0}
img.sprite-48-lastfm{background-position: -980px 0}
img.sprite-48-linkedin{background-position: -1029px 0}
img.sprite-48-meetup{background-position: -1078px 0}
img.sprite-48-mixx{background-position: -1127px 0}
img.sprite-48-moddb{background-position: -1176px 0}
img.sprite-48-mrwong{background-position: -1225px 0}
img.sprite-48-myspace{background-position: -1274px 0}
img.sprite-48-netvibes{background-position: -1323px 0}
img.sprite-48-newsletter{background-position: -1372px 0}
img.sprite-48-newsvine{background-position: -1421px 0}
img.sprite-48-nujij{background-position: -1470px 0}
img.sprite-48-orkut{background-position: -1519px 0}
img.sprite-48-picasa{background-position: -1568px 0}
img.sprite-48-plaxo{background-position: -1617px 0}
img.sprite-48-plurk{background-position: -1666px 0}
img.sprite-48-posterous{background-position: -1715px 0}
img.sprite-48-print{background-position: -1764px 0}
img.sprite-48-reddit{background-position: -1813px 0}
img.sprite-48-rss{background-position: -1862px 0}
img.sprite-48-slideshare{background-position: -1911px 0}
img.sprite-48-soundcloud{background-position: -1960px 0}
img.sprite-48-sphinn{background-position: 0 -49px}
img.sprite-48-stumble{background-position: -49px -49px}
img.sprite-48-technorati{background-position: -98px -49px}
img.sprite-48-tumblr{background-position: -147px -49px}
img.sprite-48-twitter{background-position: -196px -49px}
img.sprite-48-vimeo{background-position: -245px -49px}
img.sprite-48-vkontakte{background-position: -294px -49px}
img.sprite-48-wordpress{background-position: -343px -49px}
img.sprite-48-xfire{background-position: -392px -49px}
img.sprite-48-xing{background-position: -441px -49px}
img.sprite-48-ya{background-position: -490px -49px}
img.sprite-48-yahoo_buzz{background-position: -539px -49px}
img.sprite-48-yelp{background-position: -588px -49px}
img.sprite-48-youtube{background-position: -637px -49px}
";

$buildCss .="
img.image-60{background:transparent url(".WP_PLUGIN_URL."/share-and-follow/default/60/sprite-60.png) no-repeat;}
img.sprite-60-bandcamp{background-position: 0 0}
img.sprite-60-blogger{background-position: -61px 0}
img.sprite-60-bookmark{background-position: -122px 0}
img.sprite-60-coconex{background-position: -183px 0}
img.sprite-60-dailymotion{background-position: -244px 0}
img.sprite-60-delicious{background-position: -305px 0}
img.sprite-60-deviantart{background-position: -366px 0}
img.sprite-60-digg{background-position: -427px 0}
img.sprite-60-email{background-position: -488px 0}
img.sprite-60-facebook{background-position: -549px 0}
img.sprite-60-fark{background-position: -610px 0}
img.sprite-60-feedback{background-position: -671px 0}
img.sprite-60-feedburner{background-position: -732px 0}
img.sprite-60-flickr{background-position: -793px 0}
img.sprite-60-foursquare{background-position: -854px 0}
img.sprite-60-google_buzz{background-position: -915px 0}
img.sprite-60-gowalla{background-position: -976px 0}
img.sprite-60-hyves{background-position: -1037px 0}
img.sprite-60-imdb{background-position: -1098px 0}
img.sprite-60-itunes{background-position: -1159px 0}
img.sprite-60-lastfm{background-position: -1220px 0}
img.sprite-60-linkedin{background-position: -1281px 0}
img.sprite-60-meetup{background-position: -1342px 0}
img.sprite-60-mixx{background-position: -1403px 0}
img.sprite-60-moddb{background-position: -1464px 0}
img.sprite-60-mrwong{background-position: -1525px 0}
img.sprite-60-myspace{background-position: -1586px 0}
img.sprite-60-netvibes{background-position: -1647px 0}
img.sprite-60-newsletter{background-position: -1708px 0}
img.sprite-60-newsvine{background-position: -1769px 0}
img.sprite-60-nujij{background-position: -1830px 0}
img.sprite-60-orkut{background-position: -1891px 0}
img.sprite-60-picasa{background-position: -1952px 0}
img.sprite-60-plaxo{background-position: 0 -61px}
img.sprite-60-plurk{background-position: -61px -61px}
img.sprite-60-posterous{background-position: -122px -61px}
img.sprite-60-print{background-position: -183px -61px}
img.sprite-60-reddit{background-position: -244px -61px}
img.sprite-60-rss{background-position: -305px -61px}
img.sprite-60-slideshare{background-position: -366px -61px}
img.sprite-60-soundcloud{background-position: -427px -61px}
img.sprite-60-sphinn{background-position: -488px -61px}
img.sprite-60-stumble{background-position: -549px -61px}
img.sprite-60-technorati{background-position: -610px -61px}
img.sprite-60-tumblr{background-position: -671px -61px}
img.sprite-60-twitter{background-position: -732px -61px}
img.sprite-60-vimeo{background-position: -793px -61px}
img.sprite-60-vkontakte{background-position: -854px -61px}
img.sprite-60-wordpress{background-position: -915px -61px}
img.sprite-60-xfire{background-position: -976px -61px}
img.sprite-60-xing{background-position: -1037px -61px}
img.sprite-60-ya{background-position: -1098px -61px}
img.sprite-60-yahoo_buzz{background-position: -1159px -61px}
img.sprite-60-yelp{background-position: -1220px -61px}
img.sprite-60-youtube{background-position: -1281px -61px}
";

// finish add icons
$buildCss .=".share {margin:0 ".$devOptions['spacing']."px ".$devOptions['spacing']."px 0;}\n";
$buildCss .=".phat span {display:inline;}\n";

  if ($devOptions['css_images']=='yes'){
    $buildCss .="ul.row li {float:left;list-style-type:none;}\n";
    $buildCss .="li.icon_text a {background-position:left center;display:block}\n";
    $buildCss .="li.text_only a {background-image:none !important;padding-left:0;}\n";
    $buildCss .="li.iconOnly a span.head {display:none}\n";
    $buildCss .="li.iconOnly a {display:block;margin:0 ".$devOptions['spacing']."px ".$devOptions['spacing']."px 0; padding:0 !important;}\n";
    $buildCss .="#follow.left li.iconOnly a,  #follow.right li.iconOnly a {display:block;margin:0; padding:0 !important;    background-color:transparent;}\n";
    $buildCss .="#follow.left ul.size16 li.follow{margin:0px auto !important}\n";
    $buildCss .=".size16 li.iconOnly a {height:16px;width:16px;}\n";
    $buildCss .=".size24 li.iconOnly a {height:24px;width:24px;}\n";
    $buildCss .=".size32 li.iconOnly a {height:32px;width:32px;}\n";
    $buildCss .=".size48 li.iconOnly a {height:48px ;width:48px;}\n";
    $buildCss .=".size60 li.iconOnly a {height:60px ;width:60px;}\n";

    $buildCss .=".size32 li.icon_text a {line-height:34px;padding-left:40px;}\n";
    $buildCss .=".size16 li.icon_text a {padding-left:20px;line-height:20px;}\n";
    $buildCss .=".size24 li.icon_text a {line-height:30px;padding-left:30px;}\n";
    $buildCss .=".size48 li.icon_text a {line-height:56px;padding-left:56px;}\n";
    $buildCss .=".size60 li.icon_text a {line-height:70px;padding-left:70px;}\n";
    }
  if ($devOptions['css_images']=='no'){
    $buildCss .="li.icon_text a {padding-left:0;margin-right:".$devOptions['spacing']."px}\n";
    $buildCss .="li.text_only a {background-image:none !important;padding-left:0;}\n";
    $buildCss .="li.icon_text a span{background-image:none !important;padding-left:0 !important; }\n";
    $buildCss .="li.iconOnly a span.head {display:none}\n";
    $buildCss .="li.iconOnly a {margin:0 ".$devOptions['spacing']."px ".$devOptions['spacing']."px 0; padding:0 !important;}\n";
    $buildCss .="ul.row li {float:left;line-height:auto !important;}\n";
    $buildCss .="ul.row li a img {padding:0}";
    $buildCss .=".size16 li.iconOnly a {height:16px;width:16px;display:block;}\n";
    $buildCss .=".size24 li.iconOnly a {height:24px;width:24px;display:block;}\n";
    $buildCss .=".size32 li.iconOnly a {height:32px;width:32px;display:block;}\n";
    $buildCss .=".size48 li.iconOnly a {height:48px ;width:48px;display:block;}\n";
    $buildCss .=".size60 li.iconOnly a {height:60px ;width:60px;display:block;}\n";
    $buildCss .=".size32 li.icon_text a {line-height:34px;padding-left:40px;display:block;}\n";
    $buildCss .=".size16 li.icon_text a {padding-left:20px;line-height:20px;display:block;}\n";
    $buildCss .=".size24 li.icon_text a {line-height:30px;padding-left:30px;display:block;}\n";
    $buildCss .=".size48 li.icon_text a {line-height:56px;padding-left:56px;display:block;}\n";
    $buildCss .=".size60 li.icon_text a {line-height:70px;padding-left:70px;display:block;}\n";
    }

$buildCss .="ul.socialwrap {list-style-type:none;margin:0; padding:0}\n";
$buildCss .="ul.socialwrap li {list-style-type:none;background-image:none;padding:0;}\n";
$buildCss .="ul.followwrap {list-style-type:none;margin:0; padding:0}\n";
$buildCss .=".shareinpost {clear:both}";
$buildCss .=".shareinpost ul.socialwrap {list-style-type:none !important;margin:0 !important; padding:0 !important}\n";
$buildCss .=".shareinpost ul.socialwrap li {padding-left:0 !important;background-image:none !important;margin-left:0 !important;list-style-type:none !important;}\n";
$buildCss .=".socialwrap li.icon_text a img, .socialwrap li.iconOnly a img{border-width:0}";
$buildCss .="ul.followrap li {list-style-type:none;}\n";
$buildCss .="div.clean {clear:left;}\n";
$buildCss .="div.display_none {display:none;}\n";
$buildCss .="img.image-16 {height:16px !important;width:16px !important}";
$buildCss .="img.image-24 {height:24px !important;width:24px !important}";
$buildCss .="img.image-32 {height:32px !important;width:32px !important}";
$buildCss .="img.image-48 {height:48px !important;width:48px !important}";
$buildCss .="img.image-60 {height:60px !important;width:60px !important}";

//
// end of standard CSS style setup
//

//
// theme support
//
if ($devOptions['theme_support']!= 'none') {
    $buildCss .=  "/* adding theme support for ".$devOptions['theme_support']."   */ \n";
        switch($devOptions['theme_support']){
            case "default":
                    $buildCss .= ".entry ul.socialwrap li:before, #sidebar ul li.share_links ul.socialwrap li:before, #sidebar ul li.follow_links ul.followwrap li:before, #content .entry ul.socialwrap li:before {content: \"\" !important;}
                    .entry ul.socialwrap li{padding:0;margin:0;text-indent:0;}
                    .entry ul.socialwrap li a span {padding-left:9px;}
                    .entry ul.socialwrap li a img {padding:0;border:none;}
                    .entry ul.socialwrap {padding:0;margin-top:20px}
                    #follow ul {margin:0}\n";
                    break;
            case "choco":
                    $buildCss .= ".post ul.socialwrap {margin-left:0 !important; margin-top:20px; clear:left;}
                    .post .bg ul.socialwrap {margin-left:0 !important; margin-top:0px}
                    .post .entry .shareinpost img {background-color:none; border-width:0; padding:0}
                    \n";
                    break;
            case "arjuna":
                    $buildCss .= ".postContent ul.socialwrap li {margin-left:0; clear:left;}
                    .postContent ul.socialwrap {margin-top:20px;}\n";
                    if ($devOptions['follow_location']=='top'){
                        $buildCss .= ".headerBG {top:10px;}
                        .header {margin-top:10px;}\n";
                    }
                    break;
            case "dojo":
                $buildCss .=  " .content ul.socialwrap li {margin-left:0px;}
                                .content ul.socialwrap {margin-top:20px;}";
                    break;
            case "tribune":
                $buildCss .= "#main-lt ul.socialwrap, #main-lt ul.followwrap {padding-top:10px; padding-left:10px;}
                              #main-rt ul.socialwrap, #main-rt ul.followwrap {padding-top:10px; padding-left:10px;}";
                break;
            case "intrepidity":
                    $buildCss .= ".entry_content ul.socialwrap {padding-left:0 ;margin-top:20px}";
                    if ($devOptions['follow_location']=='top'){
                        $buildCss .= "#bg {margin-top:".($devOptions['size']+8)."px;}\n";
                    }
                    break;
            case "thesis":
                    $buildCss .= "#footer #follow a {border-width:0;}";
                    if ($devOptions['follow_location']=='left' || $devOptions['follow_location']=='right'){
                    $buildCss .= "#footer #follow li {display:block}";
                    }
                    break;
            case "mymag":
                    $buildCss .= "#follow {z-index:1000;}
                                  #subpage .content ul.socialwrap li {background-image:none;padding:0 !important}";
                break;
            case "frugal" :
                $buildCss .= "#wrap #content .postarea ul.socialwrap li {margin-left:0}";
                break;
            default:
            break;
        }

}
//
// support for extra CSS embeded into file from user
//
if (!empty($devOptions['extra_css'])) {
        $buildCss .= stripslashes($devOptions['extra_css']);
}
//
// print support via CSS, this section excludes CSS selectors
//

 $printCSS ="/* cssid=".$devOptions['cssid']."                            */   \n";
 $printCSS .="/* WARNING!! this file is dynamicaly generated changes will  */ \n";
 $printCSS .="/* be overwritten with every change to the admin screen.      */ \n";
 $printCSS .="/* You can add css to this file in the admin screen.       */ \n\n\n\n\n";
 $printCSS .= "body {background: white;font-size: 12pt;color:black;}
 * {background-image:none;}
 #wrapper, #content {width: auto;margin: 0 5%;padding: 0;border: 0;float: none !important;color: black;background: transparent none;}
 a { text-decoration : underline; color : #0000ff; }\n";
 //
 // excludes
 if (!empty($devOptions['css_print_excludes'])) {
        $printCSS .= $devOptions['css_print_excludes']." {display:none}\n";
}
//
// user CSS for print
if (!empty($devOptions['extra_print_css'])) {
        $printCSS .= stripslashes($devOptions['extra_print_css']);
}


?>
